<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="../../set.jsp" />
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>用户中心</title>
<jsp:include page="../../cite.jsp" />
<link rel="stylesheet" href="${_path}/theme/theme-menu.css">
<style>
.body {
	padding-top: 40px;
}

.body>.panel {
	width: 700px;
	margin: 0 auto;
}
</style>
</head>
<body>
	<jsp:include page="../../header.jsp" />
	<jsp:include page="./user-menu.jsp?active=log" />
	<div class="body text-center">
		<div class="panel panel-default">
			<table class="table table-hover table-striped text-center">
				<thead>
					<tr>
						<td width="10%"></td>
						<td width="30%">
							<strong>日期</strong>
						</td>
						<td width="25%">
							<strong>IP</strong>
						</td>
						<td width="35%">
							<strong>地区</strong>
						</td>
					</tr>
				</thead>
				<tbody>
					<c:forEach varStatus="row_status" var="row" items="${userLogins.rows}">
						<tr>
							<td>
								<strong>${row_status.index + 1}</strong>
							</td>
							<td>${row.time}</td>
							<td>${row.ip}</td>
							<td>${row.area}</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
</body>
</html>